-module(pong).
-export([start/0, pong/0]).
pong()->
	receive
		finish->
			io:format("Pong receive finish~n", []),
			pong();
		{ping, Ping_PID}->
			io:format("Pong receive ping ~n", []),
			Ping_PID ! pong,
			pong()
	end.
start()->
	register(pong, spawn(pong, pong, [])).
